GtkFontChooser: Avoid using show_all explicitely
authorAlberto Ruiz <aruiz@gnome.org>
Fri, 15 Apr 2011 20:49:46 +0000 (21:49 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 15 Aug 2011 22:57:50 +0000 (18:57 -0400)
gtk/gtkfontchooser.c

index a2fc26c3ac2f9e61f1af7160ec2e99aff1f5f154..aba2cd97613e78d8419770a91dfa14da981ab4f1 100644 (file)
@@ -312,10 +312,15 @@ gtk_font_selection_init (GtkFontSelection *fontsel)
                                                             sizeof (guint16)) - 1],
                                                 1);
 
+  gtk_box_pack_start (GTK_BOX (fontsel), priv->search_entry, FALSE, TRUE, 0);
+
   priv->size = 12 * PANGO_SCALE;
   priv->face = NULL;
   priv->family = NULL;
 
+  gtk_widget_show_all (GTK_WIDGET (fontsel));
+  gtk_widget_hide (GTK_WIDGET (fontsel));
+
   gtk_widget_pop_composite_child();
 }